package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.List;

public class MutualattentionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public MutualattentionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andManoIsNull() {
            addCriterion("mano is null");
            return (Criteria) this;
        }

        public Criteria andManoIsNotNull() {
            addCriterion("mano is not null");
            return (Criteria) this;
        }

        public Criteria andManoEqualTo(String value) {
            addCriterion("mano =", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotEqualTo(String value) {
            addCriterion("mano <>", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoGreaterThan(String value) {
            addCriterion("mano >", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoGreaterThanOrEqualTo(String value) {
            addCriterion("mano >=", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoLessThan(String value) {
            addCriterion("mano <", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoLessThanOrEqualTo(String value) {
            addCriterion("mano <=", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoLike(String value) {
            addCriterion("mano like", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotLike(String value) {
            addCriterion("mano not like", value, "mano");
            return (Criteria) this;
        }

        public Criteria andManoIn(List<String> values) {
            addCriterion("mano in", values, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotIn(List<String> values) {
            addCriterion("mano not in", values, "mano");
            return (Criteria) this;
        }

        public Criteria andManoBetween(String value1, String value2) {
            addCriterion("mano between", value1, value2, "mano");
            return (Criteria) this;
        }

        public Criteria andManoNotBetween(String value1, String value2) {
            addCriterion("mano not between", value1, value2, "mano");
            return (Criteria) this;
        }

        public Criteria andParPnoIsNull() {
            addCriterion("par_pno is null");
            return (Criteria) this;
        }

        public Criteria andParPnoIsNotNull() {
            addCriterion("par_pno is not null");
            return (Criteria) this;
        }

        public Criteria andParPnoEqualTo(String value) {
            addCriterion("par_pno =", value, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoNotEqualTo(String value) {
            addCriterion("par_pno <>", value, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoGreaterThan(String value) {
            addCriterion("par_pno >", value, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoGreaterThanOrEqualTo(String value) {
            addCriterion("par_pno >=", value, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoLessThan(String value) {
            addCriterion("par_pno <", value, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoLessThanOrEqualTo(String value) {
            addCriterion("par_pno <=", value, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoLike(String value) {
            addCriterion("par_pno like", value, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoNotLike(String value) {
            addCriterion("par_pno not like", value, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoIn(List<String> values) {
            addCriterion("par_pno in", values, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoNotIn(List<String> values) {
            addCriterion("par_pno not in", values, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoBetween(String value1, String value2) {
            addCriterion("par_pno between", value1, value2, "parPno");
            return (Criteria) this;
        }

        public Criteria andParPnoNotBetween(String value1, String value2) {
            addCriterion("par_pno not between", value1, value2, "parPno");
            return (Criteria) this;
        }

        public Criteria andPnoIsNull() {
            addCriterion("pno is null");
            return (Criteria) this;
        }

        public Criteria andPnoIsNotNull() {
            addCriterion("pno is not null");
            return (Criteria) this;
        }

        public Criteria andPnoEqualTo(String value) {
            addCriterion("pno =", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotEqualTo(String value) {
            addCriterion("pno <>", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoGreaterThan(String value) {
            addCriterion("pno >", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoGreaterThanOrEqualTo(String value) {
            addCriterion("pno >=", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLessThan(String value) {
            addCriterion("pno <", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLessThanOrEqualTo(String value) {
            addCriterion("pno <=", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoLike(String value) {
            addCriterion("pno like", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotLike(String value) {
            addCriterion("pno not like", value, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoIn(List<String> values) {
            addCriterion("pno in", values, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotIn(List<String> values) {
            addCriterion("pno not in", values, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoBetween(String value1, String value2) {
            addCriterion("pno between", value1, value2, "pno");
            return (Criteria) this;
        }

        public Criteria andPnoNotBetween(String value1, String value2) {
            addCriterion("pno not between", value1, value2, "pno");
            return (Criteria) this;
        }

        public Criteria andMap1begindateIsNull() {
            addCriterion("maP1BeginDate is null");
            return (Criteria) this;
        }

        public Criteria andMap1begindateIsNotNull() {
            addCriterion("maP1BeginDate is not null");
            return (Criteria) this;
        }

        public Criteria andMap1begindateEqualTo(String value) {
            addCriterion("maP1BeginDate =", value, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateNotEqualTo(String value) {
            addCriterion("maP1BeginDate <>", value, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateGreaterThan(String value) {
            addCriterion("maP1BeginDate >", value, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateGreaterThanOrEqualTo(String value) {
            addCriterion("maP1BeginDate >=", value, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateLessThan(String value) {
            addCriterion("maP1BeginDate <", value, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateLessThanOrEqualTo(String value) {
            addCriterion("maP1BeginDate <=", value, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateLike(String value) {
            addCriterion("maP1BeginDate like", value, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateNotLike(String value) {
            addCriterion("maP1BeginDate not like", value, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateIn(List<String> values) {
            addCriterion("maP1BeginDate in", values, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateNotIn(List<String> values) {
            addCriterion("maP1BeginDate not in", values, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateBetween(String value1, String value2) {
            addCriterion("maP1BeginDate between", value1, value2, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap1begindateNotBetween(String value1, String value2) {
            addCriterion("maP1BeginDate not between", value1, value2, "map1begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateIsNull() {
            addCriterion("maP2BeginDate is null");
            return (Criteria) this;
        }

        public Criteria andMap2begindateIsNotNull() {
            addCriterion("maP2BeginDate is not null");
            return (Criteria) this;
        }

        public Criteria andMap2begindateEqualTo(String value) {
            addCriterion("maP2BeginDate =", value, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateNotEqualTo(String value) {
            addCriterion("maP2BeginDate <>", value, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateGreaterThan(String value) {
            addCriterion("maP2BeginDate >", value, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateGreaterThanOrEqualTo(String value) {
            addCriterion("maP2BeginDate >=", value, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateLessThan(String value) {
            addCriterion("maP2BeginDate <", value, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateLessThanOrEqualTo(String value) {
            addCriterion("maP2BeginDate <=", value, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateLike(String value) {
            addCriterion("maP2BeginDate like", value, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateNotLike(String value) {
            addCriterion("maP2BeginDate not like", value, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateIn(List<String> values) {
            addCriterion("maP2BeginDate in", values, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateNotIn(List<String> values) {
            addCriterion("maP2BeginDate not in", values, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateBetween(String value1, String value2) {
            addCriterion("maP2BeginDate between", value1, value2, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMap2begindateNotBetween(String value1, String value2) {
            addCriterion("maP2BeginDate not between", value1, value2, "map2begindate");
            return (Criteria) this;
        }

        public Criteria andMastateIsNull() {
            addCriterion("maState is null");
            return (Criteria) this;
        }

        public Criteria andMastateIsNotNull() {
            addCriterion("maState is not null");
            return (Criteria) this;
        }

        public Criteria andMastateEqualTo(Integer value) {
            addCriterion("maState =", value, "mastate");
            return (Criteria) this;
        }

        public Criteria andMastateNotEqualTo(Integer value) {
            addCriterion("maState <>", value, "mastate");
            return (Criteria) this;
        }

        public Criteria andMastateGreaterThan(Integer value) {
            addCriterion("maState >", value, "mastate");
            return (Criteria) this;
        }

        public Criteria andMastateGreaterThanOrEqualTo(Integer value) {
            addCriterion("maState >=", value, "mastate");
            return (Criteria) this;
        }

        public Criteria andMastateLessThan(Integer value) {
            addCriterion("maState <", value, "mastate");
            return (Criteria) this;
        }

        public Criteria andMastateLessThanOrEqualTo(Integer value) {
            addCriterion("maState <=", value, "mastate");
            return (Criteria) this;
        }

        public Criteria andMastateIn(List<Integer> values) {
            addCriterion("maState in", values, "mastate");
            return (Criteria) this;
        }

        public Criteria andMastateNotIn(List<Integer> values) {
            addCriterion("maState not in", values, "mastate");
            return (Criteria) this;
        }

        public Criteria andMastateBetween(Integer value1, Integer value2) {
            addCriterion("maState between", value1, value2, "mastate");
            return (Criteria) this;
        }

        public Criteria andMastateNotBetween(Integer value1, Integer value2) {
            addCriterion("maState not between", value1, value2, "mastate");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}